package com.billing.service;

import org.apache.ibatis.annotations.Param;

import com.billing.model.entity.TUserWorkexperience;
import com.billing.model.entity.TUserWorkexperienceBuffer;

public interface UserWorkexperienceService {

	public int insertTUserWorkexperience(TUserWorkexperience userWorkexperience);
	/**
	 * 查询数据通过 userid
	 * @param userid
	 * @return
	 */
	TUserWorkexperience selectUserWorkexperienceByUid(@Param("userid")String userid);
	/**
	 * 查询数据通过 id
	 * @param id
	 * @return
	 */
	TUserWorkexperience selectUserWorkexperienceByid(@Param("id")String id);
	/**
	 * 修改数据
	 * @param userWorkexperience
	 * @return
	 */
	public int updateUserWorkexperience(TUserWorkexperience userWorkexperience);
	/**
	 * 新增根据镜像
	 * @param userWorkexperienceBuffer
	 * @return
	 */
	int insertByBuffer(TUserWorkexperienceBuffer userWorkexperienceBuffer);
	/**
	 * 修改根据镜像
	 * @param userWorkexperienceBuffer
	 * @return
	 */
	int updateByBuffer(TUserWorkexperienceBuffer userWorkexperienceBuffer);
}
